package com.example.springbootmybatis.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author cuikaixuan
 * @date 2021/4/20  19:30
 * @desc 静态工具类
 */
@ConfigurationProperties(prefix = "resource") //与容器中 “resource” 前缀绑定
@Component //将StaticUtil 放到容器中
@Data //lombok支持的自动生成get/set
public class ResourceSetting {
    private String img_file_path;
    private String dir_name;
}
